import { useRouter } from "vue-router"

let router: any = useRouter();

export  function gotoPage(name:string):void{
   router.push({name});
}